/**
 * Copyright (C), 2016-2019
 * FileName: FirstServlet
 * Author:   yacnog_liu
 * Date:     2019/4/4 23:26
 * Description:
 */
package com.mayi.bootdemo.servlet;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * SprignBoot 整合Servlet方式一
 */
@WebServlet(name = "FirsetServlet", urlPatterns = "/first")
public class FirstServlet extends HttpServlet {

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        System.out.println("FirstServlet...........");
    }
}
